// Generic styled button view
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_VIEW_STYLED_BUTTON_H
#define MISSION_VIEW_STYLED_BUTTON_H

#include <factory.hpp>

namespace view {
	//
	/// Create a button which may be styled and can contain stock items.
	///
	/// \param	parameters	a dictionary of parameters for this button
	///				including "style", "stock" and "action".
	/// \param	parent		the parent widget node.
	/// \param	token		the factory token containing everything
	///				else for creating the widget.
	/// \return	a widget_node_t containing the new icon-view widget.
	//
	adobe::widget_node_t styled_button_factory(
		const adobe::dictionary_t&	parameters,
		const adobe::widget_node_t&	parent,
		const adobe::factory_token_t&	token );
};

#endif

